using System;
using System.Collections.Generic;
using System.Text;

namespace MForm
{
    public class YNState
    {
        private string strDisplay ;
        private string strValue ;

        public YNState(string strDisplay, string strValue)
        {

            this.strDisplay = strDisplay;
            this.strValue = strValue;
        }

        public string Value
        {
            get
            {
                return strValue;
            }
        }

        public string Display
        {
        
            get
            {
                return strDisplay;
            }
        }

        public override string ToString()
        {
            return this.strDisplay + " - " + this.strValue;
        }

    }
}
